﻿using Newtonsoft.Json.Linq;
using Reborn.Contracts.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reborn.Contracts.Net
{
    public class WebRequestContext
    {
        /// <summary>
        /// 请求路由
        /// </summary>
        public string Route { get; set; }

        /// <summary>
        /// 请求类型,Get,post
        /// </summary>
        public string Method { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        public JToken Args { get; set; }

        /// <summary>
        /// 结果
        /// </summary>
        public ApiResult Result { get; set; }
    }
}
